﻿namespace MvcXRepairAdmin.Services
{
     using System;
    using System.Collections.Generic;
    using MvcXRepairAdmin.Interfaces;
    using MvcXRepairAdmin.Repository.SQL;
    using XRepair.Models;

    public class UserService : IUserService
    {
        private UserDAO _userRepository;

        public UserService()
        {
            _userRepository = new UserDAO();
        }

        public IEnumerable<User> GetAllActiveUsers()
        {
            return _userRepository.GetAllActiveUsers();
        }

    }
}
